package com.zgt.dao;

import java.util.List;

import com.zgt.model.Admin;
import com.zgt.model.Student;
import com.zgt.model.Student;

public interface StudentDao {

	public void saveStudent(Student student);

	public Student getStudentById(int id);

	public List<Student> listStudent(int pageStart,int pageSize);

	public void updateStudent(Student student);

	public void deleteStudentById(int id);

	public Student checkLogin(Student Student);

	public boolean isExist(Student Student);

	public int getCount();

	public void saveStudents(List list);

	public List<Student> toExcle(String keyType, String key);

	public int getCount(String string);

	public List listSearch(String string, int offset, int pageSize);

	public List<Student> query(String query);
}
